Automattic\Jetpack_Boost\Lib\Connection S

Total Complexity 32
Dependencies 10
Dependents 1
Total lines 269
Lines of code 133
Logical lines of code 55
Comment lines 92
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
deactivate_disconnect_network()
S
60 4 13
get_connection_api_response()
S
64 4 9
register()
S
62 3 12
wpcom_blog_id()
S
77 3 3
can_manage_connection()
S
60 2 15
ensure_connection()
S
61 2 13
register_rest_routes()
S
57 1 20
initialize_deactivate_disconnect()
S
67 2 8
is_connected()
S
71 2 6
create_connection_endpoint()
S
65 2 10
rest_authorization_required_code()
S
79 2 3
__construct()
S
69 1 6
add_connection_config_data()
S
76 1 4
deactivate_disconnect()
S
82 1 3
disconnect()
S
74 1 5
get_connection_endpoint()
S
80 1 3